const api: ApiConfig = {
  // 资产归还领用请求列表
  assetsReturnReceiveRequestList: {
    method: 'GET',
    url: '/oa/asset/assetCirculationApply/submitPage'
  },
  // 资产归还领用请求列表--点交确认
  assetsReturnReceiveRequestSubmit: {
    method: 'GET',
    url: '/oa/asset/assetCirculationApply/submit'
  },
  // 资产转移/归还/领用 保存
  assetCirculationApplySave: {
    method: 'POST',
    url: '/oa/asset/assetCirculationApply/save'
  },
  // 资产转移/归还/领用 修改
  assetCirculationApplyUpdate: {
    method: 'POST',
    url: '/oa/asset/assetCirculationApply/update'
  },
  // 资产转移/归还/领用 列表
  assetCirculationApplyList: {
    method: 'GET',
    url: '/oa/asset/assetCirculationApply/list'
  },
  // 资产转移/归还/领用 详情
  assetCirculationApplyInfo: {
    method: 'GET',
    url: '/oa/asset/assetCirculationApply/info/:id'
  },
  // 资产转移/归还/领用 删除
  assetCirculationApplyDelete: {
    method: 'POST',
    url: '/oa/asset/assetCirculationApply/delete'
  },
  // 资产领用---资产设备列表
  canBeClaimedAsset: {
    method: 'GET',
    url: '/oa/asset/assetInfo/getCanBeClaimedAsset'
  },
  // 库房管理列表
  detopManagementList: {
    method: 'GET',
    url: '/oa/asset/assetWarehouse/list'
  },
  // 库房管理详情
  detopManagementInfo: {
    method: 'GET',
    url: '/oa/asset/assetWarehouse/info/:id'
  },
  // 库房管理删除
  detopManagementDelete: {
    method: 'POST',
    url: '/oa/asset/assetWarehouse/delete'
  },
  // 库房管理新增
  detopManagementAdd: {
    method: 'POST',
    url: '/oa/asset/assetWarehouse/save'
  },
  // 库房管理修改
  detopManagementUpdate: {
    method: 'POST',
    url: '/oa/asset/assetWarehouse/update'
  },
  // 库房新增--上级库房
  dropDetopList: {
    method: 'GET',
    url: '/oa/asset/assetWarehouse/dropList'
  },
  // 资产类目列表
  assetsTypeList: {
    method: 'GET',
    url: '/oa/asset/assetCategories/list'
  },
  // 资产类目新增
  assetsTypeAdd: {
    method: 'POST',
    url: '/oa/asset/assetCategories/save'
  },
  // 资产类目修改
  assetsTypeUpdate: {
    method: 'POST',
    url: '/oa/asset/assetCategories/update'
  },
  // 资产类目删除
  assetsTypeDelete: {
    method: 'POST',
    url: '/oa/asset/assetCategories/delete'
  },
  // 资产类目详情
  assetsTypeInfo: {
    method: 'GET',
    url: '/oa/asset/assetCategories/info/:id'
  },
  // 类目新增--上级类目
  dropTypeList: {
    method: 'GET',
    url: '/oa/asset/assetCategories/dropList'
  },
  /** 以下是资产管理模块： */
  // 资产表列表
  getAssetsList: {
    method: 'GET',
    url: '/oa/asset/assetInfo/listAsset'
  },
  // 保存资产表信息
  saveAssets: {
    method: 'POST',
    url: '/oa/asset/assetInfo/saveAsset'
  },
  // 修改资产表信息
  updateAssets: {
    method: 'POST',
    url: '/oa/asset/assetInfo/update'
  },
  // 获取资产表信息
  getAssetsInfo: {
    method: 'GET',
    url: '/oa/asset/asset/info' // 末尾加id
  },
  /** 以下是资产管理-详细信息模块： */
  getAssetInfo: {
    method: 'GET',
    url: '/oa/asset/assetInfo/info/:id' // 末尾加id
  },
  getAssetInfoList: {
    method: 'GET',
    url: '/oa/asset/assetInfo/list'
  },
  exportAssetInfo: {
    method: 'POST',
    url: '/oa/asset/assetInfo/exportAssetInfo',
    responseType: 'blob'
  },
  importAssetExcel: {
    method: 'POST',
    url: '/oa/asset/assetInfo/importAssetExcel',
    headers: {
      'content-type': 'multipart/form-data'
    }
  },
  // 个人资产列表
  getUserAssetsList: {
    method: 'GET',
    url: '/oa/asset/assetInfo/userList'
  },
  // 个人资产列表——修改备注
  updateUserRemark: {
    method: 'POST',
    url: '/oa/asset/assetInfo/updateUserRemark'
  },
  // 资产日志列表
  getAssetsLogList: {
    method: 'GET',
    url: '/oa/asset/assetInfoUpdateHistory/list'
  },
  // 类目，位置接口
  getWarehouseList: {
    method: 'GET',
    url: '/oa/asset/assetWarehouse/dropList'
  },
  getCategoryList: {
    method: 'GET',
    url: '/oa/asset/assetCategories/tree'
  },
  getUserList: {
    method: 'GET',
    url: '/common/public/getPeopleList'
  }
}
export default api
